Jump to content

scoping bug ? stamping in sopsolver


gaurav

Recommended Posts

Hello,
I am facing a puzzling behavior within Sopsolver while fetching the last timestep dop geometry data. Not sure if its a bug. Can anyone take a look and throw some light on why following string scopes are working fine ?

Use null to switch the stamps() expression.

1.`stamps("..", "DATAPATH", "dumb")

2.`stamps("../..", "DATAPATH", "dumb")

3.`stamps("../../../..", "DATAPATH", "dumb")

4.`stamps("../............", "DATAPATH", "dumb")  | LoL

Other than #2 nothing Should be working IMO. Bug?

 

Thanks,

-Gaurav

scopingBug.hipnc

Link to comment
Share on other sites

Looks like operator path, Where value should be looked up, doesnt really mattter.
Some how its able to fetch $DATAPATH and return the correct value.

`stamps(opfullpath("../.."),"DATAPATH","dumb")`

`stamps(opfullpath(".."),"DATAPATH","dumb")`

Both work. Any thoughts ?
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...