home *** CD-ROM | disk | FTP | other *** search
- @echo off
- echo clear ipca and write it to screen:
- ipca 0
- ipca w
- echo store string Robert and write ipca to screen:
- ipca e Robert
- ipca w
- echo add string Parkinson and write ipca to screen:
- ipca a Parkinson
- ipca w
- echo test if string ertPark is in ipca and report to screen:
- ipca r ertPark
- echo test if Perkeo is in ipca and report to screen:
- ipca r Perkeo
- echo clear ipca and write it to screen:
- ipca 0
- ipca w
- echo set byte 10 to 234 and report to screen
- ipca s 10 234
- ipca w
- echo test if byte 10 is equal to 123 and report
- ipca u 10 123
- echo test if byte 10 is equal to 234 and report
- ipca u 10 234
- echo return value of byte 10 in errorlevel
- ipca b 10
- if errorlevel 235 goto no
- if errorlevel 234 goto yes
- goto no
- :yes
- echo errorlevel equal to 234
- goto end
- :no
- echo errorlevel different than 234
- :end
- echo reset byte 10 to 0 and report
- ipca s 10 0
- ipca w
- echo That's it!
-
-