Quantcast

Documentation Center

  • Trial Software
  • Product Updates

plus

Class: lib.pointer
Package: lib

+ (plus) operator for pointer arithmetic

Syntax

hout = plus(h,offset)
hout = h + offset

Description

hout = plus(h,offset) returns pointer hout. Pointer hout is valid only as long as the original pointer, h, exists.

hout = h + offset is an alternative syntax.

Input Arguments

expand all

hlib.pointer object.handle

lib.pointer object, specified as a handle.

offset — Scalar incrementuint64

Scalar increment, specified as uint64, from h.

Related Examples

Was this topic helpful?