The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Incompatible variable type -Problem
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

cosy

Germany
Posts

Posted - 03/26/2004 :  06:11:34 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi, whenever I use a bit wise operator in Origin C I get a compiler error : incompatible variable type.
The following is a piece of my code

Dataset ds1("MyData_a");
Dataset ds2("MyData_b");
Dataset ds3("MyData_c");
Dataset ds4("MyData_d");
if(ds2 & 1024 == 1024)
{
ds3 = ds1;
}

I get an error at the if statement (Incompatible variable type)
Can any explain the cause of it?
Thanks.
Deepak Samuel
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000