|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Topic # 1437 |
switch off Palm automatically |
12/07/2006 @ 10:54 by Werner
|
Hi, I would like to generate an iziBasic-programm which switches off my Palm automatically after having done its work. Can anyone tell me if there is a statement or function integrated which can do that? Thank you. Werner |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 1 -------- 12/07/2006 @ 19:45 by aldweb
visitor |
Hello Werner,
Please read topic #1359 in this forum.
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 2 -------- 13/07/2006 @ 11:11 by Werner
visitor |
Hi Aldweb, I understand, that there is no iziBasic-statement for this task and therefore a Pascal-code-segment has to integrated. So I have to search for the correct syntax.... Thank you so far. Werner |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 3 -------- 13/07/2006 @ 19:25 by aldweb
visitor |
Hello Werner,
You understand well.
If you have difficulties writing this PP applet, tell me and I will send it to you (it is a question of 5 minutes work, everything included, tax free for you ).
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 4 -------- 14/07/2006 @ 10:58 by Werner
visitor |
Hi Aldweb, this would be very kind! By the way: I have again started translating..... Werner |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 5 -------- 19/07/2006 @ 09:19 by aldweb
visitor |
Hello Werner,
Here is the source code for the PP applet, named iBSleep.pas:
{$code appl,LDxx,code,100} program iBSleep; type iBasFunType=function(S:string):string; var iBasCallPP:iBasFunType;
procedure SysSleep(untilReset,emergency:Boolean); inline($4E4F,$A0B2);
function CallPP(S:string):string; begin SysSleep(false,false); end;
begin iBasCallPP:=CallPP; end.
And the iziBasic source code, named iBSleep.ibas:
' iBSleep.ibas {CREATORID "LDxx"} {VERSION "1.0"}
BEGIN A$=CALLPP$(100,"") A=WAITEVENT END
This should work (I just wrote it here, didn't have time to test it though...).
Cheers, aldweb
|
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 6 -------- 26/07/2006 @ 15:12 by Werner
visitor |
Hi Aldweb, thank you for help. I suppose I have to integrate the iziBasic lines into my application adapting filename, creatorID and so on. But where to with the pascal code? The explanation of the directive RESOURCEFILE is very short. Greetings Werner |
|
|
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 497
Answer n° 7 -------- 26/07/2006 @ 17:17 by aldweb
visitor |
Hello Werner,
The Pascal code should be written in a dedicated DOC file, with extension .pas, also adapting filename, creatorID and so on.
Then, download the PP compiler (http://www.ppcompiler.org/), install it on your device, and follow the next 2 easy steps: 1. open the iziBasic source code in Piaf and compile it 2. open the PP source code in Piaf and compile it
That's it
Cheers, aldweb
|
|
|
topic active
topic closed
Sticky
New message -
Correct message
Close topic
Make sticky
|
|