Ok I got around the "ENTER" key problem in my form...
Function in '_disc.html' to output to temp file...
code:
function ok.onclick()
{
window.returnValue = discription.value+
"\n[HelpDesk]\ncubenum="+cubenum.value+
"\njacknum="+jacknum.value;
window.close();
}
What the output file looks like...
code:
This is a test of the new loop
I wonder what the output will look like?
Thanks,
Rocco
[HelpDesk]
cubenum=Test1
jacknum=Test2
What the kix script loks like...
code:
WHILE((ReadProfileString('$DISCFILE','HelpDesk','cubenum')='')OR
(ReadProfileString('$DISCFILE','HelpDesk','jacknum')=''))
SHELL '%COMSPEC% /c kixwin "file://'+@CURDIR+'\_disc2.html" > "'+$DISCFILE+'"'
$RC=Open(1,'$DISCFILE',2)
$DISC=ReadLine(1)
WHILE((@ERROR=0)AND(ReadLine(1)<>'[HelpDesk]'))
$DISC = $DISC+@CRLF+ReadLine(1)
LOOP
$RC=Close(1)
?$DISC
LOOP
This is what the compiled $DISC looks like...
code:
This is a test of the new loop
I wonder what the output will look like?
Thanks,
Rocco
What do ya think??
Rocco
{edit}
I think the board stripped out all of my @CRLF's in the [ code ] tags.
There should be some line breaks in there.
{edit}