Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What kind of variables are supported in STATISTICA BASIC?

0
Posted

What kind of variables are supported in STATISTICA BASIC?

0

STATISTICA BASIC supports both temporary variables (local for the program) and the standard STATISTICA variables from the data file. The temporary variables can be either numeric (e.g., i, income, my_new_variable_with_a_long_name) or text variables (e.g., a$, b$, first_name$, last_name$), and they do not need to be declared unless they are arrays or global variables that are accessible in user-defined functions or subroutines. The data file variables can be referred by their original names, numbers, and they can be treated as vectors; data files can be treated as predefined, two-dimensional arrays ( DATA(v,c) ). How to assign a value to a variable: Here are examples of simple assignment statements: i := 10; j := 20; monthly_profit := (revenues95-expenses95)/12; first_name$ := ‘JANNICE’; Note that in STATISTICA BASIC, the assignment operator is := and that the end of each statement is marked by a semicolon ( ; ). How to specify a conditional instruction (if … then): Here is an example

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123