and as it seems you missed this in the enumeration part of the manual...
The reserved constant #PB_Compiler_EnumerationValue store the next value which will be used in the enumeration. Can be useful to chain several enumerations.
So change the start of the Helloworld procedure ...
( You know what would be really useful? a link, at the top of these forum pages, to the PB pages where we can download the latest version... The Purebasic Logo, top left, would be perfect for that.)
You can click on the "Back to PureBasic" text at the top of the forum to get to the Homepage which ...