
Caution! This message was sent from outside the University of Manitoba.
Thank you, Jamie, for the quick response. I have tried to study the Commands file, and I apologize if I overlook something, but: - How do I do Imif - else - endif? - How do I print Titles and comments over tables and graphs? - How to select all records. select; returns error message,
It would be very helpful to see some real-world script files for better understanding structure and flow. Thank you again for your patience!
Vegard
fre. 14. feb. 2025 kl. 19:24 skrev EpiData support and user community <epidata-list@lists.umanitoba.camailto:epidata-list@lists.umanitoba.ca>: Caution! This message was sent from outside the University of Manitoba.
The help menu item should load the local document commands.html which has a full description of all new analysis commands. The commands and functions are similar to classic epidata, but there are summer important differences.
The difference that is easy to forget is that you must use := in an assignment varx := 25; and to give a value to some command parameters scatter varX varY !xmax:=100;
There are a lot of simple examples in the help document.
You can still use @varx to put the value of varx into the command. But we have not implemented ? to request user input, as far as I recall.
If anyone has useful, validated examples of .pgm code, I will add them to a separate tutorial file.
Jamie
Dear list, I am experiencing a fairly steep learning curve trying to write quite basic .pgm script files for the new post-2018 EpiData Analysis guided by the introductory text on the epidata website and the commands.html reference.
I have searched the web for relevant tutorials, courses or examples, but cannot find any. Could anybody on the list be willing to share some programming examples for example on the examples page on Epidata.dk (or elsewhere)?
BTW: Does the new Analysis allow for a parallel to the user input command in Classic:
globalvariable=trim("?Input value?")
Thanks for any hints or links.
Regards, Vegard Hoegli MD, MPH
Archives: https://lists.umanitoba.ca/hyperkitty/list/epidata-list@lists.umanitoba.ca/m...