11.07.2015 Views

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

Upgrade Guide - Prolifics

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Development and DeploymentJPL ProgrammingDeclaring VariablesUse commas to delimit initial values in GLOBAL and VARS declarations.Sending and Receiving DataVariable AssignmentsApplication PropertiesNew CommandsThe send and receive commands have changed for word-wrapped fields.Word-wrapped fields are now sent as a single item; the receive command shouldspecify a word-wrapped field which permits it to use sm_ww_write to place the text.Another change is that the number of available bundles can be set with themax_bundles application property. It defaults to ten bundles (including the unnamedbundle) if unspecified.In previous versions of the product, an expression which mixed numeric with stringvariable assignments yielded inconsistent results. It is illegal to mix these assignmentswithin one expression. For example, the following assignment previously yieldedeither 0 or an empty string, depending on which version is being used:%.0 a='' // Assigned '' to aNow, this assignment generates a syntax error.The @jam property shortcut for the application name has been replaced with @app().@jam will continue to work for backward compatibility.COM and WebSphere applications can call the following JPL commands:! log—Writes a message to the server log file.! receive_args—Receives a method's parameters from a client.<strong>Upgrade</strong> <strong>Guide</strong> 1-13

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!