**basic./=**Assignment Operator/BASIC Program

# basic./=

Command | basic./= Assignment Operator/BASIC ProgramApplicable release versions: AP 5.2.5 |
---|---|

Category | BASIC Program (486) |

Description | divides a variable by a numeric expression and assigns it to the given variable. |

Syntax | variable /= num.expression |

Options | |

Example | x /= 2 This divides the current value of "x" by "2" and assigns the result to "x". This is equivalent to: x = x / 2 |

Purpose | |

Related |
basic.- basic.operators basic.arithmetic.expressions basic.:= basic.num.expression basic.precedence basic.= basic.assignment arithmetic.operators basic.*= basic.+= basic.-= basic.precision basic.sum basic.*.multiply |