Hi Magnus,
> Many thanks!
> Works great now. (I had missed "file" in Open & Close.)
>>
>> you can have it even shorter ;-)
>>
>> on mouseUp
>> ask file "Save your order" with "Untitled.txt"
>> if it is empty then exit mouseUp
>> put field "totalOrder" into url ("file:" & it) ## !!!
>> end mouseUp
>>
> I'm new to Revolution (my first project). So, that combination
> of (" "&), is it replaced by the actual name of the file?.
>
> /magnus
Yes, kind of...
the url command needs a complete string as an argument.
So the correct syntax would be:
put fld 1 into url "file:Your_complete/path_to_the/file.txt"
So the actual filepath and the "file:" have to be concenated first,
that's what the parenthesis are for.
(The & (ampersand) concatenates 2 strings.)
If you leave them, there will be an error.
Regards
Klaus Major <[EMAIL PROTECTED]>
MetaScape GmbH
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution