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
 All Forums
 Origin Forum for Programming
 LabTalk Forum
 Empty cell and import single ascii file

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
didodido85 Posted - 01/31/2006 : 06:00:16 AM
Hello,

what command control if a cell (numeric/text) is empty?
Can i import a single ascii file (from a path) directly into a set worksheet name.

Sorry for my bad english.

Best regards.
Federico.
4   L A T E S T    R E P L I E S    (Newest First)
didodido85 Posted - 01/31/2006 : 10:27:42 AM
quote:

The open -w command imports to the active worksheet. If you want to import to wks Data3 while Data1 is active you must first activate Data3 with win -a Data3. If Data3 is already active you can omit the win -a command.

Mike Buess
Origin WebRing Member



Thanks Mike, very fastly :D

Bye bye...
Mike Buess Posted - 01/31/2006 : 10:12:56 AM
The open -w command imports to the active worksheet. If you want to import to wks Data3 while Data1 is active you must first activate Data3 with win -a Data3. If Data3 is already active you can omit the win -a command.

Mike Buess
Origin WebRing Member
didodido85 Posted - 01/31/2006 : 09:39:05 AM
quote:


> This will import to the worksheet wksName...

win -a wksName; // activate wks
open -w file path\name; // import file

Mike Buess
Origin WebRing Member



But if next i must work with different worksheet i must reset with the command "win -a" the current worksheet or is automaticaly reset.
Mike Buess Posted - 01/31/2006 : 09:23:25 AM
Hi Federico,

> This assumes that an "empty" cell contains neither number nor text...

rr = row number;
cc = column number;
%A = cell(rr,cc)$; // get cell as text
if( %A=="" ) type "Row $(rr), col $(cc) is empty";

> This will import to the worksheet wksName...

win -a wksName; // activate wks
open -w file path\name; // import file

Mike Buess
Origin WebRing Member

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000