A variable is a named data storage location in memory. Using variables, a computer program can store numbers, text, binary data, or a combination of any of these data types. They can be passed around in code, to other functions and even other applications.

learn more… | top users | synonyms (1)

4
votes
0answers
36 views

Shopping cart: Cookies only holding 2 - 5 items

The complete shopping cart code can be found here: http://shopppingcart.googlecode.com/files/simplecart.js Everything works correctly, except the part of the code that handles cookies for the items ...
3
votes
0answers
125 views

R to Stata: Exporting dataframe with variable labels

I have a dataset in R to which I applied variable labels using the {Hmisc} package. However, when I export the dataset to Stata (using the write.dta function in the {foreign} package), the variable ...
3
votes
0answers
387 views

HLSL Pixel Shader - global variables?

I am new to HLSL and shaders. I can't seem to replace the color I retrieve. It's for use in 2D text, i.e. subtitles. The problem is if I set osd_color outside main() it doesn't display anything. I am ...
3
votes
0answers
424 views

Google analytics session-level custom variable not showing all visits

I'm having trouble tracking info through GA Custom Variables. I'm using for the same kind of pages both a page-level and a session-level Custom Variable, both in different slots. As I understand from ...
2
votes
0answers
149 views

Alternative to Response.Redirect in Webmatrix

I am writing a check list for mechanics so everything uses radio buttons and pull down menus (blah!). There could be over 50 items so passing values in the url would be messy. If I send the form with ...
2
votes
0answers
77 views

Variable expires_in time for Rails Action Caching

I want to use action caching in my rails app. Right now I set the timeout for the cache to 1 minute but I would like to have it variable. Here is the code of my rails controller: ...
2
votes
0answers
69 views

how to resolve burn variables in the bootstrap xml

One of my goals in creating the bootstrap project is to set a default log location. I would like the location to be based on the local app data folder. I cannot figure out how to reference the ...
2
votes
0answers
172 views

Public variable as Outlook Mail item do not stay persistant

I have a project where I have set up a public variable as a outlook mail item. All subs are in the same module. I set the variable as public at the top of the module Public CurrentMsg as ...
2
votes
0answers
202 views

PHP Export all user-defined variables to file, import if file exists?

Is it possible to (say, when the PHP script crashes or something) dump all user-defined variables to a file, and then the next time the script runs, import the file and re-set (perhaps from a ...
2
votes
0answers
81 views

Override plugin options default values

$.fn.formreg=function(options){ options = $.extend({}, $.fn.formreg.defaults, options); return this.each(function() { var $this = $(this) ; }); }; $.fn.formreg.defaults={ ...
2
votes
0answers
447 views

MySQL: Re-using user-defined variables in the same SELECT statement

I did a search in stackoverflow but didn't quite find an exact answer to my question, so please help me if you can. I 'want' to build a SQL statement like this: SELECT @tax1 := (complicated ...
2
votes
0answers
460 views

Change Xcode's environmental path variable

I migrated from iphoneOS3.1.2.sdk to iphoneOS4.0.sdk and had to re-reference all frameworks. The old OpenAL reference is getting stuck in the build script as I see the new one but the old one is ...
1
vote
0answers
6 views

Blogger: how to create custom Variable definitions for the Designer page

When you login to Blogger.com and click the Template page, one of the first things you see in every template is "Variable definitions". These variable definitions show up on the user-friendly Designer ...
1
vote
0answers
27 views

Getting a variable from a Entry into a dbf

I am trying to use a entry to append the dbf part of a shapefile. So far I can only make a change to the dbf file by directly assigning the variable a value. I can only get the entry box to print a ...
1
vote
0answers
21 views

In SSRS are group variables always re-evaluated or cached?

In an SSRS report I've got a row group for which a handful of variables are defined; i.e. they are defined at the group not the report level. Some of the variables are a function of the other ...

1 2 3 4 5 121
15 30 50 per page