Digital Video Forums  

Go Back   Digital Video Forums > Disc Formats > DVD Authoring and Editing

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
Old 28 Mar 2012, 02:03 AM   #1
Super Member
Super Member
 
Join Date: Jan 2009
Posts: 226
Default Evaluating VM expression

I would be grateful for guidance on how to dissect the expression : Set gprm(1) &=(and) 15, where gprm(1) = 0 and which evaluates to 0. I take it that the “&” is the bitwise and – but the “(and)” ?
VRYK is offline   Reply With Quote
Old 28 Mar 2012, 11:20 PM   #2
Lord of Digital Video
Lord of Digital Video
 
r0lZ's Avatar
 
Join Date: Mar 2004
Location: be
Posts: 1,508
Default

(and) is synonym to &=. Maybe I should have suppressed the double notation, but for compatibility with IfoEdit, I have decided to put both notations in the command. All operators are treated the same way. For example, += is also translated to (add). Sorry if it's not obvious.

BTW, there is a good plugin for PgcEdit called "hex bit operands" that displays exactly what each operator does. Try it if you're unsure.
__________________
r0lZ
PgcEdit homepage (hosted by VideoHelp)
Unofficial mirror (in Poland)
r0lZ is offline   Reply With Quote
Old 30 Mar 2012, 07:06 PM   #3
Super Member
Super Member
 
Join Date: Jan 2009
Posts: 226
Default

Many thanks for your explanation. The plug-in is really helpful.
VRYK is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off




All times are GMT +10. The time now is 07:00 AM.

Kirsch designed by Andrew & Austin


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1999 - 2018 Digital Digest

Visit DivXLand   Visit dvdloc8.com