Click here to Skip to main content
15,887,776 members
Home / Discussions / Database
   

Database

 
AnswerRe: SQL Table Description Pin
R. Giskard Reventlov14-May-12 12:31
R. Giskard Reventlov14-May-12 12:31 
GeneralRe: SQL Table Description Pin
Kevin Marois14-May-12 12:33
professionalKevin Marois14-May-12 12:33 
QuestionxBase question Pin
David Crow14-May-12 10:05
David Crow14-May-12 10:05 
AnswerRe: xBase question Pin
Kevin Marois14-May-12 11:40
professionalKevin Marois14-May-12 11:40 
QuestionRe: xBase question Pin
David Crow14-May-12 17:22
David Crow14-May-12 17:22 
AnswerRe: xBase question Pin
Kevin Marois15-May-12 6:35
professionalKevin Marois15-May-12 6:35 
QuestionRe: xBase question Pin
David Crow15-May-12 6:55
David Crow15-May-12 6:55 
AnswerRe: xBase question Pin
Kevin Marois15-May-12 7:01
professionalKevin Marois15-May-12 7:01 
Each element in the array that is not assigned to will be False

It's important to remember that xBase languages are loosely typed, so this will compile and run

char(1) myvar[11]
myvar[1] = Chr(32)
myvar[2] = Chr(45)
myvar[3] = "Hello"
myvar[3] = DATETIME()
myvar[10] = Chr(124)


See this[^]

Note that it says:
VFP is a weakly typed language, that is, the compiler allows operations such as assignment and comparison among variables of different types. For example, VFP allows the value of a variable to be cast to another type. The ability to use variables of different types in the same expression promotes flexibility as well as efficiency.


and
Note: Strong typing in Visual FoxPro 7/8/9 SP2 is not enforced at compile or run time, but is used primarily at design time.


This is true for Visual FoxPro, and for FoxBase and dBase, all of which are xBase languages.

Do you know what language this code was written in?
If it's not broken, fix it until it is


modified 15-May-12 13:10pm.

GeneralRe: xBase question Pin
David Crow15-May-12 7:30
David Crow15-May-12 7:30 
GeneralRe: xBase question Pin
Kevin Marois15-May-12 7:31
professionalKevin Marois15-May-12 7:31 
GeneralRe: xBase question Pin
David Crow15-May-12 7:37
David Crow15-May-12 7:37 
GeneralRe: xBase question Pin
Kevin Marois15-May-12 7:44
professionalKevin Marois15-May-12 7:44 
QuestionOracle: Replace single occurrence of a character Pin
Lash2014-May-12 8:21
Lash2014-May-12 8:21 
AnswerRe: Oracle: Replace single occurrence of a character Pin
rana ray15-May-12 0:56
rana ray15-May-12 0:56 
GeneralLinq to Sql Pin
sindhuan14-May-12 1:10
sindhuan14-May-12 1:10 
GeneralRe: Linq to Sql Pin
Kevin Marois14-May-12 11:45
professionalKevin Marois14-May-12 11:45 
QuestionDoubt in a piece of code [Transact-SQL database audit]. Pin
vValkir13-May-12 21:54
vValkir13-May-12 21:54 
AnswerRe: Doubt in a piece of code [Transact-SQL database audit]. Pin
Mycroft Holmes13-May-12 22:36
professionalMycroft Holmes13-May-12 22:36 
GeneralRe: Doubt in a piece of code [Transact-SQL database audit]. Pin
vValkir13-May-12 22:54
vValkir13-May-12 22:54 
AnswerRe: Doubt in a piece of code [Transact-SQL database audit]. Pin
Corporal Agarn14-May-12 4:08
professionalCorporal Agarn14-May-12 4:08 
QuestionOracle Question: Split String into two Pin
Lash2011-May-12 5:57
Lash2011-May-12 5:57 
AnswerRe: Oracle Question: Split String into two Pin
Jörgen Andersson11-May-12 9:08
professionalJörgen Andersson11-May-12 9:08 
AnswerRe: Oracle Question: Split String into two Pin
Lash2011-May-12 9:33
Lash2011-May-12 9:33 
GeneralRe: Oracle Question: Split String into two Pin
Jörgen Andersson11-May-12 9:47
professionalJörgen Andersson11-May-12 9:47 
Questiontimestamp Pin
vijaylumar11-May-12 1:39
vijaylumar11-May-12 1:39 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.