ambassador at fourthworld.com
Thu Aug 27 13:56:22 EDT 2009
The new server engine driving on-rev.com accounts lets us use "put"
statements without specifying a container yet without returning the
result until the script is finished. This is useful, simpler than
coding CGIs using the older method of putting into a variable since any
unassigned put pushed the data back to the client in the old CGI.
put GetInfoStuff() into tMyVar
put OtherStuff() after tMyVar
put HeaderInfo() & tMyVar -- outputs to client
New on-rev way:
put GetInfoStuff() -- buffers internally
put OtherStuff() -- more internal buffer
end startup -- finally goes out
So what does RR call this? "Open puts"?
Fourth World Media Corporation
Ambassador at FourthWorld.com http://www.FourthWorld.com
More information about the Use-livecode