|
- Forum - iziBasic
Warning: A non-numeric value encountered in /web5/aldweb/www/aldweb_com/www/thread.php on line 257
Sujet n° 1437 |
switch off Palm automatically |
le 12/07/2006 @ 10:54 par 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
Réponse n° 1 -------- le 12/07/2006 @ 19:45 par aldweb
visiteur |
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
Réponse n° 2 -------- le 13/07/2006 @ 11:11 par Werner
visiteur |
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
Réponse n° 3 -------- le 13/07/2006 @ 19:25 par aldweb
visiteur |
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
Réponse n° 4 -------- le 14/07/2006 @ 10:58 par Werner
visiteur |
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
Réponse n° 5 -------- le 19/07/2006 @ 09:19 par aldweb
visiteur |
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
Réponse n° 6 -------- le 26/07/2006 @ 15:12 par Werner
visiteur |
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
Réponse n° 7 -------- le 26/07/2006 @ 17:17 par aldweb
visiteur |
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
|
|
|
sujet actif
sujet clos
Important!
Nouveau message -
Rectifier message
Clôturer sujet
Remonter
|
|