Search
Search titles only
By:
Search titles only
By:
Log in
Register
Search
Search titles only
By:
Search titles only
By:
Menu
Install the app
Install
Forums
New posts
All threads
Latest threads
New posts
Trending threads
Trending
Search forums
What's new
New posts
New ads
New profile posts
Latest activity
Free Ads
Latest reviews
Search ads
Members
Current visitors
New profile posts
Search profile posts
Contact us
Latest ads
ඔයාගෙ Assignment හෝ Thesis එක හරියට හදාගමු
ErMurazor
Updated:
Saturday at 10:52 PM
Ad icon
BlackWall V2ray servers
hu KANNA
Updated:
Wednesday at 4:58 AM
Peppa Pig Family Plush Toy Set – 5 Characters
anil1961
Updated:
Sep 19, 2026
Ad icon
Express VPN PC - 1 Year Rs. 600.00
Sanathbh
Updated:
Sep 19, 2026
Ad icon
Capcut Pro 7 Days Team Plan - Rs. 3️⃣0️⃣0️⃣
Sanathbh
Updated:
Sep 19, 2026
Electronics
Vehicles
Property
Search
Reply to thread
Forums
General
Education
Batch Programming හතරවන පාඩම
Get the App
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Message
<blockquote data-quote="Geshi95" data-source="post: 25851323" data-attributes="member: 539934"><p style="text-align: center"><a href="https://elakiri.com/threads/batch-programming-%E0%B6%B4%E0%B7%85%E0%B6%B8%E0%B7%94-%E0%B6%B4%E0%B7%8F%E0%B6%A9%E0%B6%B8.1948779/" target="_blank"><span style="font-size: 18px">පළමු පාඩම</span></a></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://elakiri.com/threads/batch-programming-%E0%B6%AF%E0%B7%99%E0%B7%80%E0%B6%B1-%E0%B6%B4%E0%B7%8F%E0%B6%A9%E0%B6%B8.1954637/#post-25762449" target="_blank">දෙවන පාඩම</a></span></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://elakiri.com/threads/batch-programming-%E0%B6%AD%E0%B7%94%E0%B6%B1%E0%B7%8A%E0%B7%80%E0%B6%B1-%E0%B6%B4%E0%B7%8F%E0%B6%A9%E0%B6%B8.1959995/" target="_blank">තුන්වන පාඩම</a></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px">අද අපේ Batch Programming Lesson Series එකේ හතර වෙනි Lesson එක. අද loops ගැන බලමු.<img class="smilie smilie--emoji" loading="lazy" alt="😁" title="Beaming face with smiling eyes :grin:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f601.png" data-shortname=":grin:" /> ඔයා මොකක් හරි Programming Language එකක් කලින් කරලා තියෙන කෙනෙක් නම් ඔයා දැනටමත් දන්නවා ඇති මේ loops කියන්නේ මොනවද කියලා. loops වලදි වෙන්නේ යම් දෙයක් නැවත නැවත සිදුවෙන එක.<img class="smilie smilie--emoji" loading="lazy" alt="😎" title="Smiling face with sunglasses :sunglasses:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f60e.png" data-shortname=":sunglasses:" /><img class="smilie smilie--emoji" loading="lazy" alt="😊" title="Smiling face with smiling eyes :blush:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f60a.png" data-shortname=":blush:" /> මේ සඳහා යොදා ගන්නේ</span></p> <p style="text-align: center"><span style="font-size: 18px"><strong> goto </strong></span></p> <p style="text-align: center"><span style="font-size: 18px">කියන Command එක.<img class="smilie smilie--emoji" loading="lazy" alt="😃" title="Grinning face with big eyes :smiley:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f603.png" data-shortname=":smiley:" /> loop එකක් පටන්ගන්නකොට : ලකුණ සමඟ අපිට කැමති නමක්, ඉලක්කමක් වගේ දෙයක් දෙන්න පුළුවන්. ඊට පස්සේ loop වෙන්න අවශ්ය දේ loop body එක තුළ Type කරන්න. අවසානයේ goto යන්න ඉදිරියෙන් : ලකුණ සමඟ ලබා දුන් නම හෝ ඉලක්කම හෝ අකුර නැවත ලබා දී loop එක අවසන් කරන්න. පහත ආකාරයට,</span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://1.bp.blogspot.com/-0c08JAJI6Zo/Xo9fXaffelI/AAAAAAAAACs/2f-KB2ZwwHEEe-uTpOw8BqMrrjIvfFrzwCLcBGAsYHQ/s1600/1.jpg" target="_blank"><img src="https://1.bp.blogspot.com/-0c08JAJI6Zo/Xo9fXaffelI/AAAAAAAAACs/2f-KB2ZwwHEEe-uTpOw8BqMrrjIvfFrzwCLcBGAsYHQ/s320/1.jpg" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px">ඉහත රූපයේ Structure එකට අනුව ඔයාට Code කරන්න පුළුවන්. අපි පොඩි උදාහරණයක් බලමු.<img class="smilie smilie--emoji" loading="lazy" alt="😀" title="Grinning face :grinning:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f600.png" data-shortname=":grinning:" /></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://1.bp.blogspot.com/-rNojthFTYG8/Xo9fl4qBAiI/AAAAAAAAACw/1NjpJDE8jlMlWCYMoNiVAE82WmNH7BNAwCLcBGAsYHQ/s1600/2_img.JPG" target="_blank"><img src="https://1.bp.blogspot.com/-rNojthFTYG8/Xo9fl4qBAiI/AAAAAAAAACw/1NjpJDE8jlMlWCYMoNiVAE82WmNH7BNAwCLcBGAsYHQ/s320/2_img.JPG" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px">ඔය රතු පාටින් පෙන්වලා තියෙනේ loop එකේ ආරම්භය සහ අවසානය.<img class="smilie smilie--emoji" loading="lazy" alt="😉" title="Winking face :wink:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f609.png" data-shortname=":wink:" /> මෙහිදී Result එක විදියට hey, Batch! කියලා දිගටම Print වෙනවා. ඒ අපි loop එකට අවසන් කරන්න කියලා කියපු නැති නිසා. (මෙහෙම දිගටම Print වෙන එක නවත්වන්න Ctrl+C press කරන්න). දැන් අපි මෙතනට Pause Command එක යොදලා බලමු.<img class="smilie smilie--emoji" loading="lazy" alt="😬" title="Grimacing face :grimacing:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f62c.png" data-shortname=":grimacing:" /></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://1.bp.blogspot.com/-_xRxY7-sc50/Xo9f4e0o02I/AAAAAAAAAC8/WR-RqUZFp74o7yyDY6gZ9mjW4IeLxNo4ACLcBGAsYHQ/s1600/3_img.JPG" target="_blank"><img src="https://1.bp.blogspot.com/-_xRxY7-sc50/Xo9f4e0o02I/AAAAAAAAAC8/WR-RqUZFp74o7yyDY6gZ9mjW4IeLxNo4ACLcBGAsYHQ/s1600/3_img.JPG" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px">දැක්කද එතකොට එකපාරයි hey, Batch!කියලා Print වෙන්නෙ. ඔයාගෙ Key Board එකේ මොකක් හරි Key එකක් press කරාම තව කැමති වාරයක් එහෙම Print කර ගන්න පුළුවන්. මම හිතනවා දැන් ඔයාට වැඩේ තේරෙන්න ඇති කියලා. ඔයාට Randomly Numbers ටිකක් Print කර ගන්න ඕනෙ නම් මේ විදියට Code කරන්න තියෙන්නෙ.<img class="smilie smilie--emoji" loading="lazy" alt="😍" title="Smiling face with heart-eyes :heart_eyes:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f60d.png" data-shortname=":heart_eyes:" /></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://1.bp.blogspot.com/-lzeIhC2Zy1k/Xo9gIOP_LGI/AAAAAAAAADA/ciwYleIEc9QfxMfanmUOhvjPCveBpZLLgCLcBGAsYHQ/s1600/4_img.JPG" target="_blank"><img src="https://1.bp.blogspot.com/-lzeIhC2Zy1k/Xo9gIOP_LGI/AAAAAAAAADA/ciwYleIEc9QfxMfanmUOhvjPCveBpZLLgCLcBGAsYHQ/s320/4_img.JPG" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px">color Command එක ගැන දන්නෙ නැත්නම් <a href="https://ceyonhub.blogspot.com/2020/04/batch-programming_5.html" target="_blank">මෙතන </a>බලන්න.<img class="smilie smilie--emoji" loading="lazy" alt="😊" title="Smiling face with smiling eyes :blush:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f60a.png" data-shortname=":blush:" /> හැබැයි මම ඔයාලට Warning එකක් දෙන්න කැමතියි. මොකද ඔයාලා <a href="https://ceyonhub.blogspot.com/2020/04/batch-programming_6.html" target="_blank">start Command එක</a> මෙතනට යොදා ගත්තොත් උදාහරණයක් විදියට අපේ Browser එක, එක දිගට Open වෙන්න දුන්නා කියලා හිතමු. එහෙම උනොත් ඔයාගෙ Computer එක Crash වෙන්න පුළුවන්. ඒ වගේම එක දිගට Folders වගේ දේවල් හැදෙන්න දීලා Hard Drive එකට එහෙම මොනවා හරි උනොත් ඔන්න මම නෑ හොදේ.<img class="smilie smilie--emoji" loading="lazy" alt="😬" title="Grimacing face :grimacing:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f62c.png" data-shortname=":grimacing:" /><img class="smilie smilie--emoji" loading="lazy" alt="😂" title="Face with tears of joy :joy:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f602.png" data-shortname=":joy:" /> තව පුංචි දෙයක් කියලා දෙන්නම්. මේකෙන් පුළුවන් අපේ පරිගණකයේ තියෙන සියලුම Files සහ Folders වල තොරතුරු බලාගන්න.<img class="smilie smilie--emoji" loading="lazy" alt="😉" title="Winking face :wink:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f609.png" data-shortname=":wink:" /> </span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px"><a href="https://1.bp.blogspot.com/-DdRzoZNeHCg/Xo9hwpWhi0I/AAAAAAAAADQ/GUrjSbDjl94ja8Y7sggcpii1rKSWDduAgCLcBGAsYHQ/s1600/5_img.JPG" target="_blank"><img src="https://1.bp.blogspot.com/-DdRzoZNeHCg/Xo9hwpWhi0I/AAAAAAAAADQ/GUrjSbDjl94ja8Y7sggcpii1rKSWDduAgCLcBGAsYHQ/s320/5_img.JPG" alt="" class="fr-fic fr-dii fr-draggable " style="" /></a></span></p> <p style="text-align: center"><span style="font-size: 18px"></span></p> <p style="text-align: center"><span style="font-size: 18px">කොහොමද ඒක. හරි එහෙනම් ඔන්න ඔහොම තමයි loops එක්ක වැඩ කරන්නේ. ඉතින් අදට පාඩම ඉවරයි. කාටවත් හිරිහැරයක් කරන්න නම් මේවා යොදා ගන්න එපා. </span></p> <p style="text-align: center"><span style="font-size: 18px">ඊළඟ කොටසෙන් ඉක්මනටම හමුවෙමු.<img class="smilie smilie--emoji" loading="lazy" alt="😍" title="Smiling face with heart-eyes :heart_eyes:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f60d.png" data-shortname=":heart_eyes:" /><img class="smilie smilie--emoji" loading="lazy" alt="😎" title="Smiling face with sunglasses :sunglasses:" src="https://cdn.jsdelivr.net/joypixels/assets/6.6/png/unicode/64/1f60e.png" data-shortname=":sunglasses:" /> </span></p> <p style="text-align: center"><a href="https://ceyonhub.blogspot.com/2020/04/batch-programming_9.html" target="_blank"><span style="font-size: 18px">Source</span></a> <img src="/styles/default/xenforo/smilies/default/love.gif" class="smilie" loading="lazy" alt=":love:" title="Love :love:" data-shortname=":love:" /></p></blockquote><p></p>
[QUOTE="Geshi95, post: 25851323, member: 539934"] [CENTER][URL='https://elakiri.com/threads/batch-programming-%E0%B6%B4%E0%B7%85%E0%B6%B8%E0%B7%94-%E0%B6%B4%E0%B7%8F%E0%B6%A9%E0%B6%B8.1948779/'][SIZE=5]පළමු පාඩම[/SIZE][/URL] [SIZE=5][URL='https://elakiri.com/threads/batch-programming-%E0%B6%AF%E0%B7%99%E0%B7%80%E0%B6%B1-%E0%B6%B4%E0%B7%8F%E0%B6%A9%E0%B6%B8.1954637/#post-25762449']දෙවන පාඩම[/URL] [URL='https://elakiri.com/threads/batch-programming-%E0%B6%AD%E0%B7%94%E0%B6%B1%E0%B7%8A%E0%B7%80%E0%B6%B1-%E0%B6%B4%E0%B7%8F%E0%B6%A9%E0%B6%B8.1959995/']තුන්වන පාඩම[/URL] අද අපේ Batch Programming Lesson Series එකේ හතර වෙනි Lesson එක. අද loops ගැන බලමු.😁 ඔයා මොකක් හරි Programming Language එකක් කලින් කරලා තියෙන කෙනෙක් නම් ඔයා දැනටමත් දන්නවා ඇති මේ loops කියන්නේ මොනවද කියලා. loops වලදි වෙන්නේ යම් දෙයක් නැවත නැවත සිදුවෙන එක.😎😊 මේ සඳහා යොදා ගන්නේ [B] goto [/B] කියන Command එක.😃 loop එකක් පටන්ගන්නකොට : ලකුණ සමඟ අපිට කැමති නමක්, ඉලක්කමක් වගේ දෙයක් දෙන්න පුළුවන්. ඊට පස්සේ loop වෙන්න අවශ්ය දේ loop body එක තුළ Type කරන්න. අවසානයේ goto යන්න ඉදිරියෙන් : ලකුණ සමඟ ලබා දුන් නම හෝ ඉලක්කම හෝ අකුර නැවත ලබා දී loop එක අවසන් කරන්න. පහත ආකාරයට, [URL='https://1.bp.blogspot.com/-0c08JAJI6Zo/Xo9fXaffelI/AAAAAAAAACs/2f-KB2ZwwHEEe-uTpOw8BqMrrjIvfFrzwCLcBGAsYHQ/s1600/1.jpg'][IMG]https://1.bp.blogspot.com/-0c08JAJI6Zo/Xo9fXaffelI/AAAAAAAAACs/2f-KB2ZwwHEEe-uTpOw8BqMrrjIvfFrzwCLcBGAsYHQ/s320/1.jpg[/IMG][/URL] ඉහත රූපයේ Structure එකට අනුව ඔයාට Code කරන්න පුළුවන්. අපි පොඩි උදාහරණයක් බලමු.😀 [URL='https://1.bp.blogspot.com/-rNojthFTYG8/Xo9fl4qBAiI/AAAAAAAAACw/1NjpJDE8jlMlWCYMoNiVAE82WmNH7BNAwCLcBGAsYHQ/s1600/2_img.JPG'][IMG]https://1.bp.blogspot.com/-rNojthFTYG8/Xo9fl4qBAiI/AAAAAAAAACw/1NjpJDE8jlMlWCYMoNiVAE82WmNH7BNAwCLcBGAsYHQ/s320/2_img.JPG[/IMG][/URL] ඔය රතු පාටින් පෙන්වලා තියෙනේ loop එකේ ආරම්භය සහ අවසානය.😉 මෙහිදී Result එක විදියට hey, Batch! කියලා දිගටම Print වෙනවා. ඒ අපි loop එකට අවසන් කරන්න කියලා කියපු නැති නිසා. (මෙහෙම දිගටම Print වෙන එක නවත්වන්න Ctrl+C press කරන්න). දැන් අපි මෙතනට Pause Command එක යොදලා බලමු.😬 [URL='https://1.bp.blogspot.com/-_xRxY7-sc50/Xo9f4e0o02I/AAAAAAAAAC8/WR-RqUZFp74o7yyDY6gZ9mjW4IeLxNo4ACLcBGAsYHQ/s1600/3_img.JPG'][IMG]https://1.bp.blogspot.com/-_xRxY7-sc50/Xo9f4e0o02I/AAAAAAAAAC8/WR-RqUZFp74o7yyDY6gZ9mjW4IeLxNo4ACLcBGAsYHQ/s1600/3_img.JPG[/IMG][/URL] දැක්කද එතකොට එකපාරයි hey, Batch!කියලා Print වෙන්නෙ. ඔයාගෙ Key Board එකේ මොකක් හරි Key එකක් press කරාම තව කැමති වාරයක් එහෙම Print කර ගන්න පුළුවන්. මම හිතනවා දැන් ඔයාට වැඩේ තේරෙන්න ඇති කියලා. ඔයාට Randomly Numbers ටිකක් Print කර ගන්න ඕනෙ නම් මේ විදියට Code කරන්න තියෙන්නෙ.😍 [URL='https://1.bp.blogspot.com/-lzeIhC2Zy1k/Xo9gIOP_LGI/AAAAAAAAADA/ciwYleIEc9QfxMfanmUOhvjPCveBpZLLgCLcBGAsYHQ/s1600/4_img.JPG'][IMG]https://1.bp.blogspot.com/-lzeIhC2Zy1k/Xo9gIOP_LGI/AAAAAAAAADA/ciwYleIEc9QfxMfanmUOhvjPCveBpZLLgCLcBGAsYHQ/s320/4_img.JPG[/IMG][/URL] color Command එක ගැන දන්නෙ නැත්නම් [URL='https://ceyonhub.blogspot.com/2020/04/batch-programming_5.html']මෙතන [/URL]බලන්න.😊 හැබැයි මම ඔයාලට Warning එකක් දෙන්න කැමතියි. මොකද ඔයාලා [URL='https://ceyonhub.blogspot.com/2020/04/batch-programming_6.html']start Command එක[/URL] මෙතනට යොදා ගත්තොත් උදාහරණයක් විදියට අපේ Browser එක, එක දිගට Open වෙන්න දුන්නා කියලා හිතමු. එහෙම උනොත් ඔයාගෙ Computer එක Crash වෙන්න පුළුවන්. ඒ වගේම එක දිගට Folders වගේ දේවල් හැදෙන්න දීලා Hard Drive එකට එහෙම මොනවා හරි උනොත් ඔන්න මම නෑ හොදේ.😬😂 තව පුංචි දෙයක් කියලා දෙන්නම්. මේකෙන් පුළුවන් අපේ පරිගණකයේ තියෙන සියලුම Files සහ Folders වල තොරතුරු බලාගන්න.😉 [URL='https://1.bp.blogspot.com/-DdRzoZNeHCg/Xo9hwpWhi0I/AAAAAAAAADQ/GUrjSbDjl94ja8Y7sggcpii1rKSWDduAgCLcBGAsYHQ/s1600/5_img.JPG'][IMG]https://1.bp.blogspot.com/-DdRzoZNeHCg/Xo9hwpWhi0I/AAAAAAAAADQ/GUrjSbDjl94ja8Y7sggcpii1rKSWDduAgCLcBGAsYHQ/s320/5_img.JPG[/IMG][/URL] කොහොමද ඒක. හරි එහෙනම් ඔන්න ඔහොම තමයි loops එක්ක වැඩ කරන්නේ. ඉතින් අදට පාඩම ඉවරයි. කාටවත් හිරිහැරයක් කරන්න නම් මේවා යොදා ගන්න එපා. ඊළඟ කොටසෙන් ඉක්මනටම හමුවෙමු.😍😎 [/SIZE] [URL='https://ceyonhub.blogspot.com/2020/04/batch-programming_9.html'][SIZE=5]Source[/SIZE][/URL] :love:[/CENTER] [/QUOTE]
Insert quotes…
Verification
Nawa warak dahaya keeyada? (Namaya wadi kireema dahaya)
Post reply
Top
Bottom