Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to output str variable as text?
#4
You can find more info about the operator 'F' in the help.
Using the 'help search':
Strings with variables

Or navigating to it manually:
Variables, constants, numbers, strings >> Strings with variables

The 'out' was to show that the '{f}' contents => "fox"
You can put everything after the 'out' in a variable.
Once have the desired contents in you variable, in this case 'f' you can do pretty much anything with it.

If you want to paste:

Macro Macro37
Code:
Copy      Help
;; Placed a 3 second pause if you wanted to run this macro
;; It gives you time to put the mouse pointer/cursor on a desired location
3

;;The output has been put in a variable 's'
str y
y="fox"
str s=F"What does the {y} say"

;; Two examples of 'pasting' using "paste" or "setsel"
paste s
s.setsel


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)