Go Back   TechArena Community > Software > Windows Software
Become a Member!
Forgot your username/password?
Register Tags Active Topics RSS Search Mark Forums Read

Sponsored Links



Types of Variables in Open Office

Windows Software


Reply
 
Thread Tools Search this Thread
  #1  
Old 06-01-2010
Member
 
Join Date: Nov 2009
Posts: 565
Types of Variables in Open Office
  

Hi
All variables in OpenOffice are short in span of time. This thing I concluded while implementing some for a Macro project. I also want to know what are more different types of variables available in open office or support it. The thing lies on the type and the place from where the term in executed. Also how to defined the scope of variables. Thanks anyways.

Reply With Quote
  #2  
Old 06-01-2010
Member
 
Join Date: Apr 2008
Posts: 4,097
Re: Types of Variables in Open Office

The data type must be defined according to the value taken by the variable. Some of the basics are Boolean. In this the data can take only the logical values True and False. Boolean variables are stored as numbers coded on 16 bits. Then comes Integer. It Integer data containing integers, 16 bit, between -32 768 and 32 767. The% character is the declaration of type Integer. If you write Dim X As Integer, while the data is decimal (eg X = 5.9), the return value is equal to 6. The value of the variable is rounded to the nearest integer.
Reply With Quote
  #3  
Old 06-01-2010
Member
 
Join Date: Mar 2009
Posts: 1,589
Re: Types of Variables in Open Office

Long is a number of 32-bit integer whose value ranges from -2 147 483 648 2 147 483 647. The sign ampersand (&) is the character of Long's statement. If you assign a decimal number, the value of the variable is rounded to the nearest integer. The other one which I know is Currency. I is a 64-bit data whose value range of -922 337 203 685 477.5808-922 337 203 685 477.5807. The @ sign is the character type declaration Currency. This data type is used in calculations or monetary calculations in fixed point where high accuracy is required.
Reply With Quote
  #4  
Old 06-01-2010
Member
 
Join Date: Jan 2008
Posts: 3,757
Re: Types of Variables in Open Office

There are many types of variables in Open Office. I will recommend you to use some manual for the same. Instead of that I have some information for your. The Single is a type of 32 bit data which consists of floating-point variables in single precision as floating point numbers, whose value is between -3.402823 E38 and 1.401298E-45 for negative values, and between 1.401298E-45 3.402823 E38 for positive values. The exclamation point (!) Is the character type declaration Single.
Reply With Quote
  #5  
Old 06-01-2010
Member
 
Join Date: May 2008
Posts: 3,316
Re: Types of Variables in Open Office

Then comes String. A given String can include letters, numbers, spaces and punctuation. The dollar sign ($) is the character of declaration of type String. The Variant may contain all types of data. All variables are converted to Variant if no other type of data is explicitly stated. Object is a data type representing a reference object.
Reply With Quote
  #6  
Old 06-01-2010
Member
 
Join Date: Apr 2008
Posts: 4,642
Re: Types of Variables in Open Office

A variable declared within a procedure (Sub or Function) will be valid only within it, and only until its closure. In some cases, a variable must remain valid for all procedures, all modules in all libraries, or after the closing of a procedure or function. The variable declaration must then be the head module and Outside the Sub or Function procedures.
Reply With Quote
Reply

  TechArena Community > Software > Windows Software
Tags: , , , , ,



Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads for: "Types of Variables in Open Office"
Thread Thread Starter Forum Replies Last Post
Canít open any office program after successful installation of Microsoft office! Jaques Strapp Windows Software 2 15-01-2012 12:29 PM
Office 2007 and Live Office can't open an Excel document error occur in windows 7. AADI-JI Windows Software 4 29-10-2010 12:20 AM
A macro in encrypted Office Open XML file does not run in Office 2007 programs - Empty Shell - Windows Software 5 25-03-2010 12:16 AM
What are variables in Open Office Elbanco Windows Software 5 06-01-2010 03:36 AM
open office won't open my ms office documents amadeo Windows Software 2 13-08-2009 10:08 PM


All times are GMT +5.5. The time now is 06:24 PM.