CHR$: Difference between revisions

From Macros Wiki
Jump to navigationJump to search
ConnerO (talk | contribs)
New page: {{Command|syntax=CHR$ <n> |description=*DESCRPTION* |param1=<n>|param1_desc={{n}} }} ===Example=== :- CHR$ Category:Internal_Macro_Functions
 
ConnerO (talk | contribs)
No edit summary
Line 1: Line 1:
{{Command|syntax=CHR$ <n>
{{Command|syntax=[[Image:chr$.png|right|CHR$]]CHR$ <n>
|description=*DESCRPTION*
|description=Retuns the value in the input as a character using ascii form.


|param1=<n>|param1_desc={{n}}
|param1=<n>|param1_desc={{n}}
Line 6: Line 6:


===Example===
===Example===
:- CHR$
:B$ = CHR$(65)
 
:B$ = CHR$(d1)
 
:B$ = CHR$(ABS(d1*w1))


[[Category:Internal_Macro_Functions]]
[[Category:Internal_Macro_Functions]]

Revision as of 20:38, 22 July 2010

Command

CHR$
CHR$
CHR$ <n>


Retuns the value in the input as a character using ascii form.

Parameters

<n>
Anything that evaluates to a number. This can be a variable, a number, another function, or an expression which includes numbers, variables and/or functions.
For example:
123
r1
r2 + r3
(r1 + (abs(a1 * a2) / (b3 * 62)))

Example

B$ = CHR$(65)
B$ = CHR$(d1)
B$ = CHR$(ABS(d1*w1))