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.

Old school:

on startup
 put GetInfoStuff() into tMyVar
 put OtherStuff() after tMyVar
 put HeaderInfo() & tMyVar -- outputs to client
end startup

New on-rev way:

on startup
  put GetInfoStuff() -- buffers internally
  put OtherStuff() -- more internal buffer
end startup -- finally goes out


So what does RR call this?  "Open puts"?

--
 Richard Gaskin
 Fourth World Media Corporation
 ___________________________________________________________
 [email protected]       http://www.FourthWorld.com
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to