# Syntax issue for pfc 7 while the code works for pfc 5

**URL:** <https://forum.itascainternational.com/t/syntax-issue-for-pfc-7-while-the-code-works-for-pfc-5/1655>\
**Category:** PFC\
**Created:** [August 24, 2024, 8:46pm UTC](https://forum.itascainternational.com/t/syntax-issue-for-pfc-7-while-the-code-works-for-pfc-5/1655 "2024-08-24T20:46:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![SahilW](https://avatars.discourse-cdn.com/v4/letter/s/a183cd/32.png) [@SahilW](https://forum.itascainternational.com/u/SahilW)\
**Post date:** [August 24, 2024, 8:46pm UTC](https://forum.itascainternational.com/t/syntax-issue-for-pfc-7-while-the-code-works-for-pfc-5/1655/1 "2024-08-24T20:46:57Z")

</div>

The following command works in pfc 5 but not in pfc 7: " SET @rs= -1.0e6 " where the servo is defined as a function where rs is used as a condition.

---

<div class="post-metadata">

**Author:** ![dblanksma](https://avatars.discourse-cdn.com/v4/letter/d/858c86/32.png) [@dblanksma](https://forum.itascainternational.com/u/dblanksma)\
**Post date:** [August 26, 2024, 2:57pm UTC](https://forum.itascainternational.com/t/syntax-issue-for-pfc-7-while-the-code-works-for-pfc-5/1655/2 "2024-08-26T14:57:10Z")

</div>

The set command was deprecated in v7. You can assign FISH variables values using inline FISH:  
`[rs = -1.0e6]`  
See the documentation on inline FISH [here](https://docs.itascacg.com/pfc700/common/docproject/source/manual/scripting/fish_scripting/fish_inline.html?node3528).
