cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X

I want to create a variable with number in front

ppal
17-Peridot

I want to create a variable with number in front

HI

 

How can I make a variable  like  

 

3Io:=75A

 

I don't want `3Io  or ~3Io    .3Io

 

Thanks

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:ppal)

Variable.png

Done

 

Success!
Luc

Attached is the Prime 3.1 file.

The same trick works in Prime 4.

View solution in original post

11 REPLIES 11
vkofanov
12-Amethyst
(To:ppal)

изображение.png

ctrl+shift+k

изображение.png

space

изображение.png

ctrl+shift+k

изображение.png

ppal
17-Peridot
(To:vkofanov)

Does not work for Prime 4.0 - ok for mathcad 15

MJG
18-Opal
18-Opal
(To:ppal)

It's possible to use special characters in variables by first putting them in quotes, then deleting the quotes.  However, I don't think this trick works to get a variable starting with a number.  I just tried in P3.1 and it didn't work.  Perhaps P4.0, but I doubt it.

ppal
17-Peridot
(To:MJG)

No it  does not work unfortunately.

MJG
18-Opal
18-Opal
(To:ppal)

The following special characters look like 3's and are accepted as the first character of a variable (quotes trick needed): З Ӡ Ʒ ʒ

I'm sure it's not what you were looking for, but the best work-around I could find.

ppal
17-Peridot
(To:MJG)

Looks ok! - is there and ansi code I can use to generate this ?

MJG
18-Opal
18-Opal
(To:ppal)

The first is:

U+0417 З Cyrillic Capital Letter Ze

However, it does not have a keystroke (Alt+Numpad) shortcut.

 

The others are similar.

 

I think the easiest thing to do is copy the character to your clipboard and paste as necessary.

ppal
17-Peridot
(To:MJG)

Paste results in ?  not 3.

MJG
18-Opal
18-Opal
(To:ppal)


@ppal wrote:

Paste results in ?  not 3.


First type quotation marks, then paste the З, then delete the quotation mark.

After that, I'd copy the variable name and paste it where needed in equations.

 

I also like Luke's solution.  I was unaware of ALT+0173.

LucMeekes
23-Emerald III
(To:ppal)

Variable.png

Done

 

Success!
Luc

Attached is the Prime 3.1 file.

The same trick works in Prime 4.

One old Mathcad 15 joke:

Joke-MC15-1.png

 

Announcements

Top Tags