#pragma mode inquiry revisited
|
06-06-2021, 02:41 AM
Post: #2
|
|||
|
|||
RE: #pragma mode inquiry revisited
Is the use of the #pragma mode line going to be depreciated or be restricted
to a certain set of programmers? I have done more research on the #pragma mode and the information is obscure at best. There have been formatting, precision, country codes available for cobol, fortran, basic, c,... etc available for some time. === The following is the most recent research. === https://www.hpcalc.org/details/7714 https://www.hpcalc.org/prime/docs/commandtree.zip Insert pragma: tap this option to paste a #pragma mode definition into your program. The #pragma mode definition is of the following form: #pragma mode( separator(), integer()) Use the #pragma mode definition to define the set of separators used for digit grouping and the integer type. The #pragma mode definition will force the program to compile using these settings. This capability is useful for adapting a program written for a culture that uses different grouping symbols (. vs. ,) than your own. === https://www.hpcalc.org/details/7445 https://www.hpcalc.org/prime/docs/hpprimeug.zip https://www.hpcalc.org/historical/hpprimeug2nd.zip https://www.hpcalc.org/historical/hpprimeug.zip === hpprimeug second edition third edition Insert pragma—Tap this option to paste a #pragma mode definition into your program. The #pragma mode definition is in the following form: #pragma mode( separator(), integer()) Use the #pragma mode definition to define the set of separators used for digit grouping and the integer type. The #pragma mode definition forces the program to compile using these settings. This capability is useful for adapting a program written for a culture that uses different grouping symbols (. vs. ,) than your own. === Thanks. |
|||
« Next Oldest | Next Newest »
|
Messages In This Thread |
#pragma mode inquiry revisited - Liamtoh Resu - 06-04-2021, 07:53 PM
RE: #pragma mode inquiry revisited - Liamtoh Resu - 06-06-2021 02:41 AM
RE: #pragma mode inquiry revisited - Tim Wessman - 06-06-2021, 05:09 PM
RE: #pragma mode inquiry revisited - Han - 06-06-2021, 11:07 PM
|
User(s) browsing this thread: 1 Guest(s)