Post Reply 
42S Alpha String Question
06-15-2020, 05:23 AM
Post: #1
42S Alpha String Question
I'm new to the 42S program style.

I try to create the message that shown answer

On display as [ MARKUP=45 % ]

To show MARKUP=45
The code is
STO "MARKUP"
VIEW "MARKUP"

How to put % after the number?

Thank You
Gamo
Find all posts by this user
Quote this message in a reply
06-15-2020, 07:07 AM
Post: #2
RE: 42S Alpha String Question
You have to do it all with strings & AVIEW (markup in X):
Code:
 "MARKUP = "
 AIP
 +"%"
 AVIEW
If you want to show decimals, use ARCL ST X i.o. AIP

Werner

41CV†,42S,48GX,49G,DM42,DM41X,17BII,15CE,DM15L,12C,16CE
Find all posts by this user
Quote this message in a reply
06-15-2020, 07:54 AM (This post was last modified: 06-15-2020 12:38 PM by Gamo.)
Post: #3
RE: 42S Alpha String Question
Werner Thank You

I try

"Markup="
ARCL ST X
⊢" %"
AVIEW

This work out really good and display shown

[ MARKUP=55.55 % ]


Thanks

Gamo
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 1 Guest(s)