Changeset 486
- Timestamp:
- May 22, 2009, 3:40:06 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/001/wpi_prog/rexx_3functions.html ¶
r425 r486 29 29 the WarpIN environment will also contain all other environment variables 30 30 inherited from the parent process or the CONFIG.SYS file, you should always 31 use <CODE>WirexxGetEnv</CODE> to retrieve environment variables 31 use <CODE>WirexxGetEnv</CODE> to retrieve environment variables. 32 32 33 33 <BR><DT><CODE>rc=WirexxShowMessage(<I>title</I>, <I>message</I>, <I>flags</I>)</CODE> … … 103 103 any files and directories created in the process. 104 104 <P><CODE>rc</CODE> is 0 if the function succeeded, otherwise 1. 105 106 <BR><DT><CODE>rc=WirexxCancel()</CODE> 107 <DD>This function causes WarpIN to cancel installation and exit. 108 <P><CODE>rc</CODE> is always 0. 105 109 </DL> 106 110 -
TabularUnified trunk/001/wpi_prog_old/rexx_3functions.html ¶
r425 r486 90 90 </PRE> 91 91 92 <DT><CODE> rc=WirexxExtract(<I>index</I>,[<I>filemask</I>],<I>directory</I>)</CODE>92 <DT><CODE><B>rc=WirexxExtract(<I>index</I>,[<I>filemask</I>],<I>directory</I>)</B></CODE> 93 93 <DD>This function extracts files specified by <CODE><I>filemask</I></CODE> from the package 94 94 index specified by <CODE><I>index</I></CODE> into <CODE><I>directory</I></CODE>.<BR> … … 97 97 any files and directories created in the process. 98 98 <P><CODE>rc</CODE> is 0 if the function succeeded, otherwise 1. 99 100 <BR><DT><CODE><B>rc=WirexxCancel()</B></CODE> 101 <DD>This function causes WarpIN to cancel installation and exit. 102 <P><CODE>rc</CODE> is always 0. 99 103 </DL> 100 104 -
TabularUnified trunk/src/engine/fe_rexx.cpp ¶
r471 r486 17 17 /* 18 18 * Copyright (C) 2000 Cornelis Bockemhl. 19 * Copyright (C) 2000-200 8Ulrich Mller.19 * Copyright (C) 2000-2009 Ulrich Mller. 20 20 * This program is free software; you can redistribute it and/or modify 21 21 * it under the terms of the GNU General Public License as published by … … 101 101 PCSZ queuename, PRXSTRING retstr); 102 102 103 ULONG APIENTRY WirexxCancel(PCSZ name, ULONG argc, RXSTRING argv[], 104 PCSZ queuename, PRXSTRING retstr); 105 103 106 } // end extern "C" 104 107 … … 153 156 "WirexxGetEnv", ::WirexxGetEnv, 154 157 "WirexxShowMessage", ::WirexxShowMessage, 155 "WirexxExtract", ::WirexxExtract 158 "WirexxExtract", ::WirexxExtract, 159 "WirexxCancel", ::WirexxCancel 156 160 }; 157 161 … … 427 431 *@@added V0.9.2 (2000-03-10) [cbo] 428 432 *@@changed V0.9.20 (2002-07-03) [umoeller]: adjusted for unicode conversions 433 *@@changed V1.0.19 (2009-05-20) [pr]: allow hex. strings in flags 429 434 */ 430 435 … … 457 462 flags = 0; 458 463 else 459 flags = atoi(RXSTRPTR(argv[2]));464 flags = strtoul(RXSTRPTR(argv[2]), NULL, 0); // V1.0.19 460 465 461 466 // display the message … … 559 564 // occurred! 560 565 // (Return error codes to the REXX caller using retstr: See above) 566 return 0; 567 } 568 569 /* 570 *@@ WirexxCancel: 571 * cancels package installation and exits. 572 * 573 * REXX syntax: value=WirexxCancel() 574 * 575 *@@added V1.0.19 (2009-05-19) [pr]: @@fixes 1166 576 */ 577 578 ULONG WirexxCancel(PCSZ name, 579 ULONG argc, 580 RXSTRING argv[], 581 PCSZ queuename, 582 PRXSTRING retstr) 583 { 584 SetRexxReturn("0", retstr); 585 throw BSCancelExcpt(); 561 586 return 0; 562 587 }
Note:
See TracChangeset
for help on using the changeset viewer.