50g group photo

Yahoo Groups archive

50g

Archive for 50g.

Index last updated: 2026-03-30 00:59 UTC

Thread

Define variable as integer?

Define variable as integer?

2008-02-01 by Dusan Mulac

Is it possible to define a variable as an integer?

for example if 'n' was defined as an integer, then the calculator would
simplify sin(2*pi*n) -> 0, and not just assume 'n'is a real and leave it
the way it is?

d.

Re: Define variable as integer?

2008-02-03 by Juan C.

Hello Dusan, you can not declare variables in your hp 50, a variable
just become an integer if you store an integer in it. The function
VTYPE let's you know the type of the object stored in a variable.